a,b = map(int,raw_input().split())
print b,a
